package com.fx.eduservice.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CourseInfoVo {
    @ApiModelProperty(value = "课程ID")
    private String id;

    @ApiModelProperty(value = "课程讲师ID",example = "00001")
    private String teacherId;

    @ApiModelProperty(value = "课程专业ID",example = "00009")
    private String subjectId;

    @ApiModelProperty(value = "一级分类级ID",example = "0")
    private String subjectParentId;

    @ApiModelProperty(value = "课程标题",example = "测试数据001")
    private String title;

    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看",example = "100.89")
    // 0.01
    private BigDecimal price;

    @ApiModelProperty(value = "总课时",example = "120")
    private Integer lessonNum;

    @ApiModelProperty(value = "课程封面图片路径",example = "http://123123")
    private String cover;

    @ApiModelProperty(value = "课程简介",example = "测试课程简介")
    private String description;
}
